import request from '@/utils/request'

// 查询签到公告表列表
export function listFhInfoSigncontent(query, pageReq) {
  return request({
    url: '/act/fhInfoSigncontent/list',
    method: 'post',
    data: query,
    params: pageReq
  })
}

// 查询签到公告表详细
export function getFhInfoSigncontent(id) {
  return request({
    url: '/act/fhInfoSigncontent/' + id,
    method: 'get'
  })
}

// 新增签到公告表
export function addFhInfoSigncontent(data) {
  return request({
    url: '/act/fhInfoSigncontent',
    method: 'post',
    data: data
  })
}

// 修改签到公告表
export function updateFhInfoSigncontent(data) {
  return request({
    url: '/act/fhInfoSigncontent',
    method: 'put',
    data: data
  })
}

// 删除签到公告表
export function delFhInfoSigncontent(id) {
  return request({
    url: '/act/fhInfoSigncontent/' + id,
    method: 'delete'
  })
}

// 导出签到公告表
export function exportFhInfoSigncontent(query) {
  return request({
    url: '/act/fhInfoSigncontent/export',
    method: 'get',
    params: query
  })
}
